package com.dinian.collection_info.sevice;

import com.dinian.collection_info.entity.Role;
import com.dinian.collection_info.entity.User;

import java.util.Map;

public interface LoginService {

    User addUser(Map<String, Object> map); //添加用户

    Role addRole(Map<String, Object> map); //添加角色

    User findByName(String name); //查询用户通过用户名
}
